<?
error_reporting(E_ERROR|E_WARNING);
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
include_once("$board_skin_path/config.php");
$sql = "DELETE FROM $shop[shop_new_table] 
		WHERE  wr_id = '$wr_id'
		  AND  bo_table = '$bo_table'
		LIMIT 1 ";
//썸네일이 생성되었다면 삭제한다.
//echo "del file : "."$g4[path]/data/file/latest_thumb/{$bo_table}_{$wr_id}"."<br>";
@unlink("$g4[path]/data/file/latest_thumb/{$bo_table}_{$wr_id}");
sql_query($sql);	
?>
